package org.jeecg.modules.friends.model;

import java.io.Serializable;
import java.util.Date;

public class VipUserDO implements Serializable {
    private Long id;

    private Long userId;

    private Integer vipLevel;

    private Long vipStartDate;

    private Long vipEndDate;

    private String benefits;

    private String serviceRecords;

    private Date addTime;

    private Date updateTime;

    private Integer ticketLeft;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getVipLevel() {
        return vipLevel;
    }

    public void setVipLevel(Integer vipLevel) {
        this.vipLevel = vipLevel;
    }

    public Long getVipStartDate() {
        return vipStartDate;
    }

    public void setVipStartDate(Long vipStartDate) {
        this.vipStartDate = vipStartDate;
    }

    public Long getVipEndDate() {
        return vipEndDate;
    }

    public void setVipEndDate(Long vipEndDate) {
        this.vipEndDate = vipEndDate;
    }

    public String getBenefits() {
        return benefits;
    }

    public void setBenefits(String benefits) {
        this.benefits = benefits == null ? null : benefits.trim();
    }

    public String getServiceRecords() {
        return serviceRecords;
    }

    public void setServiceRecords(String serviceRecords) {
        this.serviceRecords = serviceRecords == null ? null : serviceRecords.trim();
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getTicketLeft() {
        return ticketLeft;
    }

    public void setTicketLeft(Integer ticketLeft) {
        this.ticketLeft = ticketLeft;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId=").append(userId);
        sb.append(", vipLevel=").append(vipLevel);
        sb.append(", vipStartDate=").append(vipStartDate);
        sb.append(", vipEndDate=").append(vipEndDate);
        sb.append(", benefits=").append(benefits);
        sb.append(", serviceRecords=").append(serviceRecords);
        sb.append(", addTime=").append(addTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", ticketLeft=").append(ticketLeft);
        sb.append("]");
        return sb.toString();
    }
}